.container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 20px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
}

.headerLeft {
  width: 40px;
}

.backArrow {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.headerTitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 40px;
  justify-content: flex-end;
}

.moreIcon, .targetIcon {
  font-size: 16px;
  color: #666;
  cursor: pointer;
}

/* Payment Status */
.statusBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.statusIcon {
  width: 20px;
  height: 20px;
  background-color: #52c41a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.statusText {
  font-size: 16px;
  font-weight: 600;
  color: #52c41a;
}

/* Barcode Card */
.barcodeCard {
  background-color: white;
  margin: 16px;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.barcodeContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.barcode {
  width: 200px;
  height: 60px;
  background: linear-gradient(
    90deg,
    #000 0%, #000 8%, #fff 8%, #fff 12%, #000 12%, #000 20%, #fff 20%, #fff 24%,
    #000 24%, #000 32%, #fff 32%, #fff 36%, #000 36%, #000 44%, #fff 44%, #fff 48%,
    #000 48%, #000 56%, #fff 56%, #fff 60%, #000 60%, #000 68%, #fff 68%, #fff 72%,
    #000 72%, #000 80%, #fff 80%, #fff 84%, #000 84%, #000 92%, #fff 92%, #fff 96%,
    #000 96%, #000 100%
  );
  border-radius: 4px;
}

.barcodeNumber {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
}

.barcodeInstruction {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.checkInstruction {
  font-size: 14px;
  color: #ff8c00;
  text-align: center;
  background-color: #fff7e6;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Info Card */
.infoCard {
  background-color: white;
  margin: 0 16px 16px 16px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cardTitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.infoList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infoItem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.infoLabel {
  font-size: 14px;
  color: #666;
  min-width: 80px;
}

.infoValue {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Cost Card */
.costCard {
  background-color: white;
  margin: 0 16px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pharmacyBanner {
  background-color: #e6f7ff;
  color: #1890ff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  text-align: center;
}

.prescriptionInfo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.medicineIcon {
  font-size: 16px;
}

.prescriptionText {
  font-size: 14px;
  color: #1890ff;
  font-weight: 500;
}

.itemsList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itemRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.itemNumber {
  width: 24px;
  height: 24px;
  background-color: #f0f0f0;
  color: #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.itemDetails {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itemName {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.itemPrice {
  font-size: 14px;
  color: #ff4d4f;
  font-weight: 600;
}

/* Examination Section */
.examinationSection {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Total Amount */
.totalAmount {
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Order Card */
.orderCard {
  background-color: white;
  margin: 15px 16px 16px 16px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orderInfoList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orderInfoItem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.orderLabel {
  font-size: 14px;
  color: #666;
  min-width: 80px;
}

.orderValue {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.orderValueContainer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.copyButton {
  background-color: #1890ff;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

.copyButton:hover {
  background-color: #40a9ff;
}

/* Responsive adjustments */
@media (max-width: 375px) {
  .header {
    padding: 10px 12px;
  }
  
  .barcodeCard, .infoCard, .costCard {
    margin: 0 12px 12px 12px;
    padding: 16px;
  }
  
  .barcode {
    width: 160px;
    height: 48px;
  }
  
  .barcodeNumber {
    font-size: 16px;
  }
}
